package com.fxkj.cloud.drms.application;

import com.fxkj.cloud.drms.application.model.vo.CommandSettingHistoryModelView;
import com.fxkj.cloud.drms.application.model.vo.LatestCommandSettingHistoryKvModelView;
import com.fxkj.common.exception.FxException;
import org.springframework.data.web.PagedModel;

import java.util.List;
import java.util.UUID;

/**
 * <p>description: </p>
 *
 * @author ww
 * @date 2025-03-25 11:06:52
 */
public interface CommandSettingHistoryApplicationService {

    PagedModel<CommandSettingHistoryModelView> page(Integer page, Integer size, UUID deviceId, Integer attributeType, Long startTime, Long endTime, String deviceName, String username, UUID organizationId);

    List<LatestCommandSettingHistoryKvModelView> getLatestCommandSettingHistoryKv(UUID deviceId, List<String> attributeKeys, UUID organizationId) throws FxException;

}
